package com.youlai.boot.modules.contact.model;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "联系人表单对象")
@Data
public class ContactForm {
    private Long id;

    @NotBlank(message = "联系人名称不能为空")
    private String name;

    private String avatar;
    private String position;

    @NotBlank(message = "联系电话不能为空")
    private String phone;

    @NotNull(message = "商户ID不能为空")
    private Long merchantId;

    private String email;
    private String wechatUrl;
    private Integer showFlag;
    private Integer sort;
}